﻿class Translation extends UiFramework.SkipAnimationAbstract {
    onStart() {
        this.ui2_div.className += "Translation_2";
        if (this.ui1_div != null) {
            this.ui1_div.className += "Translation_1";
        }
        this.call = this.onEvent.bind(this);
        this.ui2_div.addEventListener("webkitAnimationEnd", this.call ); 
    }
    call: any;

    onEvent() {
        this.ui2_div.removeEventListener("webkitAnimationEnd", this.call);
        this.onEnd();
    }

    
   
}
AnimationMap["Translation"] = () => {
    return new Translation();
}